package polymorphic.homework2;

public class Person extends Ape {
    public Person() {
    }

    public Person(String name) {
        super(name);
    }

    @Override
    public void speak() {
        System.out.println(this.getName()+"说：你好啊！");
    }
    public void think(){
        System.out.println(this.getName()+"在认真地思考问题！");
    }
}
